package com.vvlhw.pptmall.product.dao;

import com.vvlhw.pptmall.product.entity.GoodsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 商品表
 * 
 * @author lianghanwei
 * @email 15362941982@163.com
 * @date 2020-06-14 16:11:50
 */
@Mapper
@Repository
public interface GoodsDao extends BaseMapper<GoodsEntity> {
	/**
	 * 用了一下MyBatis的写法，主要想得到新增的【gid】
	 * 以便插入图片集用到
	 * @param goodsEntity
	 */
	void mySave(GoodsEntity goodsEntity);
}
